<?php
// +----------------------------------------------------------------------
// | Copyright (c) 2017 ZhaoYanXiang All rights reserved.
// +----------------------------------------------------------------------
// | Author: ZhaoYanXiang <115424258@qq.com>
// +----------------------------------------------------------------------
namespace plugins\weibo_login;
use cmf\lib\Plugin;

class WeiboLoginPlugin extends Plugin
{

    public $info = array(
        'name'        => 'WeiboLogin',
        'title'       => '新浪微博登录',
        'description' => '新浪微博登录',
        'status'      => 1,
        'author'      => 'ZhaoYanXiang',
        'version'     => '1.0'
    );

    public $hasAdmin = 0;//插件是否有后台管理界面

    // 插件安装
    public function install()
    {
        return true;//安装成功返回true，失败false
    }

    // 插件卸载
    public function uninstall()
    {
        return true;//卸载成功返回true，失败false
    }

    //实现的footer_start钩子方法
    public function footerStart($param)
    {
        return true;
    }

}